<?php 
/**
 * @version			$Id: default_viewrecord.php 46 2010-08-12 10:12:59Z lowcosta@gmail.com $
 * @author			Richard Asp
 * @package			Joomla
 * @subpackage		gnudoor
 * @copyright		(C) 2010 gnudoor LLC
 * @license      GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

defined( '_JEXEC' ) or die( 'Restricted access' );
JHTML::_('script', 'form.js', 'components/com_gnudoor/assets/js/');
// JHTML::_('script', 'datetimepicker_css.js', 'components/com_gnudoor/assets/js/');
JHTML::_('stylesheet', 'form.css','components/com_gnudoor/assets/css/');
//JHTML::_('stylesheet', 'rfnet.css','components/com_gnudoor/assets/css/');
//$calgif = JHTML::image('components/com_gnudoor/assets/img/cal.gif','');
JHTMLBehavior::formvalidation();
?>

<div id="form_container" class="myform">

		<form id="form_253539" name="helpForm" class="form-validate"  method="post" action="#" onSubmit="return myValidate(this);">
<fieldset>
	   <legend>Details for <?php echo $this->titles[formHeader]; ?>s
		</legend>

  <table>
    <caption class="cap">
    </caption>
    <tr>
      <td><label class="description"><?php echo $this->titles[formName]; ?></label></td>
      <td><?php echo $this->row->name; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formDueDate]; ?></label></td>
      <td class="info"><?php echo $this->row->dateDue; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formDescription]; ?></label></td>
      <td class="info"><?php echo $this->row->description; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formEmail]; ?></label></td>
      <td class="info"><?php echo $this->row->email; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formValue]; ?></label></td>
      <td class="info"><?php echo $this->row->value; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formUser]; ?></label></td>
      <td class="info"><?php echo $this->uname->name; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formProvider]; ?></label></td>
      <td class="info"><?php  echo $this->pname->name; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formDateAdded]; ?></label></td>
      <td class="info"><?php echo $this->row->dateAdded; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formDateModified]; ?></label></td>
      <td class="info"><?php echo $this->row->dateModified; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formDateBidDue]; ?></label></td>
      <td class="info"><?php echo $this->row->dateBidDue; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formAwardDate]; ?></label></td>
      <td class="info"><?php echo $this->row->dateAwarded; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formStatus]; ?></label></td>
      <td class="info"><?php echo $this->sname->sel; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description"><?php echo $this->titles[formCode]; ?></label></td>
      <td class="info"><?php echo $this->row->code; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description">Payment ID</label></td>
      <td class="info"><?php echo $this->row->txn; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description">Payment Date</label></td>
      <td class="info"><?php echo $this->row->txnDate; ?></td>
    </tr>
    <tr>
      <td class="bolder"><label class="description">Payment Amount</label></td>
      <td class="info"><?php echo $this->row->txnAmount; ?></td>
    </tr>
  </table>
<input type="hidden" name="option" value="com_gnudoor" />
<input type="hidden" name="controller" value="gnudoor" />
<input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="status" value="6" />


<input id="cancelForm" class="submitbutton" onclick="javascript: submithelpbutton('cancel')" type="submit" name="cancel" value="Back" />
<input id="saveForm" class="submitbutton" onclick="javascript: submithelpbutton('killrecord')" type="submit" name="cancel" value="Kill Project" />
  
</fieldset>
</form>
</div>
